//
//  JoymengRate.h
//  GameChooser
//
//  Created by Moonwolf on 14-1-23.
//  Copyright (c) 2014年 moonwolf. All rights reserved.
//
//
//
//
// Add the fllowing string into Info.plist
// 
// kJMReviewTrollerRunCount      how many times will show the rateview (number)
// 
// kJMReviewTrollerTitle         alertview title (string)
// 
// kJMReviewTrollerMessage       alertview message (string)
// 
// kJMReviewTrollerAppID         iTunesAppID  (string)
// 
// Example:
// [JoymengRate numberOfExecutions];
//

#import <Foundation/Foundation.h>
#define kJM_RUNCOUNT @"kJMReviewTrollerRunCount"
#define kJM_TITLE @"kJMReviewTrollerTitle"
#define kJM_MESSAGE @"kJMReviewTrollerMessage"
#define kJM_APPID @"kJMReviewTrollerAppID"

@interface JoymengRate : NSObject <UIAlertViewDelegate>
{
    
    int numberOfExecutions;
    
}
/*
clear Data can reset the runCount number to 0
use it when after update a  new version;
 */
+ (void)clearData;

+ (int) numberOfExecutions;
- (id)  initWithNumberOfExecutions:(int) executionCount;


@end
